package org.itboys.core.service.mysql.front;

import org.itboys.core.common.SundayCommonConstants;
import org.itboys.core.entity.mysql.SundayFreight;
import org.itboys.mysql.service.BaseMySqlService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Auther: 罗尧坤
 * Date: 2018/8/21
 * Description: 运费小程序服务类
 */

@Service
public class SundayFrontFreightService extends BaseMySqlService<SundayFreight> {

    /**
     * 查询运费
     * @return
     */
    public List<SundayFreight> select() {
        Map<String, Object> param = new HashMap<>();
        param.put("isDeleted", SundayCommonConstants.NO);

        List<SundayFreight> list = super.select(param);

        return list;

    }
}
